"rocking
the boat" means stirring up trouble. To rock the boat means to disrupt things, promote disharmony,
make waves, pick a fight, causing trouble, disagreement...
On a boat, if
you rock it or cause waves it can go over and I think that is where the saying comes from.